package com.ljm.lock.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Author: ChenHuaMing
 * @Date: 2020/10/9 14:48
 * @Description:
 */
@ConfigurationProperties(prefix = "ljm.lock")
public class LockProperties {
    /**
     * 锁类型
     */
    private String type="redis";
    /**
     * 超时时间
     */
    private String timeOut="30000";

    public String getTimeOut() {
        return timeOut;
    }

    public void setTimeOut(String timeOut) {
        this.timeOut = timeOut;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
